package edu.sctu.practice.class02.Wangpeng.Test8;

/**
 * Created by wp on 2015/11/9.
 */
public class Car extends Vehicles {
    private int seats;

    public Car(String brand,String color,int seats){
        super(brand,color);
        this.seats=seats;
    }
    void showCar(){
        super.showInfo();
        System.out.println("座位"+seats);
    }
}
